<%--
  Created by IntelliJ IDEA.
  User: desire
  Date: 2022/3/23
  Time: 14:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Title</title>
</head>
<body>
<h1>中文</h1>
<%
    out.println(request.getMethod());
    out.println(request.getParameter("name"));
    out.println(request.getRemoteAddr());
    request.setCharacterEncoding("utf-8");
    response.setCharacterEncoding("utf-8");
    response.setContentType("text/html;charset=utf-8");
%>
<%="1+4"%>
</body>
</html>
